package android07.newtop.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.jude.beam.bijection.BeamFragment;
import com.jude.beam.bijection.RequiresPresenter;
import com.jude.beam.expansion.list.BeamListFragment;
import com.jude.beam.expansion.list.ListConfig;
import com.jude.easyrecyclerview.EasyRecyclerView;
import com.jude.easyrecyclerview.adapter.BaseViewHolder;

import android07.newtop.R;
import android07.newtop.holder.NewTopViewHolder;
import android07.newtop.model.bean.NewsBean;
import android07.newtop.presenter.MainFragmentPresenter;
import android07.newtop.presenter.WeatherFragmentPresenter;

/**
 *相应城市的 天气情况
 * Created by hy on 2016/10/17.
 */
@RequiresPresenter(WeatherFragmentPresenter.class)
public class WeatherFragment extends BeamFragment<WeatherFragmentPresenter> {
    public EasyRecyclerView recyclerView;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.weather_fragment_main,null);
        recyclerView = (EasyRecyclerView)view.findViewById(R.id.easy_recyclerview);
        recyclerView.setErrorView(R.layout.view_net_error);
        return view;
    }


}
